public class FrenchFactory extends Factory {
	private static FrenchFactory INSTANCE;//idem American Factory
	private FrenchFactory()
	{
		
	}
	public static FrenchFactory getInstance()
	{
		if(INSTANCE==null)
		{
		  INSTANCE=new FrenchFactory();
		}
		return INSTANCE;// o sing instanta a cls FrenchFactory
	}
	public Date getDate(int d,int m, int y)
	{
	 return new FrenchDate(d,m,y);
	}
	public Address getAddress(int nr,String sName,String town,int code)
	{
	  return new FrenchAddress(nr,sName,code,town);	
	}
	public PhoneNumber getPhoneNumber(String p)
	{
		return new FrenchPhoneNumber(p);
	}
   /*metodele getDate, getAdress si getPhoneNumber creaza datele coresp in format francez prin 
    intermediul constructorului asociat*/
}
